﻿namespace Jim.OA;

/// <summary>
/// 获取流程状态数据
/// </summary>
[Sdk("/api/workflow/paService/getRequestStatus",description: "获取流程状态数据", "get")]
public class OAGetRequestStatusInput : OAUserRequest<OAGetRequestStatusOutput>,ISdkCustomDic
{
    public string RequestId { get; set; }

    public SdkDictionary Dic()
    {
        var dic = new SdkDictionary();
        dic.Add("requestId", value: RequestId);
        return dic;
    }
}


public class OAGetRequestStatusOutput : SdkResponse<OAGetRequestStatus>{}

public class OAGetRequestStatus
{
    public bool Create { get; set; }
    public int Creatertype { get; set; }
    public string CreatorId { get; set; }
    public string CurrentNodeId { get; set; }
    public string CurrentNodeType { get; set; }
    public int CurrentOperateId { get; set; }
    public int HandWrittenSign { get; set; }
    public int IsRemark { get; set; }
    public int LanguageId { get; set; }
    public OAWorkflowMainTableInfoEntity MainTableInfoEntity { get;set; }
    public bool NeedAffirmance { get; set; }
    public int RejcetToType { get; set; }
    public int RejectToNodeid { get; set; }
    public string RequestId { get; set; }
    public string RequestLevel { get; set; }
    public string RequestName { get; set; }
    public int SpeechAttachment { get; set; }
    public string Status { get; set; }
    public int SubmitToNodeid { get; set; }
    public int TakIsRemark { get; set; }
    public OAWorkflowBaseInfo WorkflowBaseInfo { get; set; }
    public int WorkflowId { get; set; }
}


public class OAWorkflowMainTableInfoEntity
{ 
    public int BillId { get; set; }
    public string TableDbName { get; set; }
}